import '../../css/index.css'
import { useNavigate } from 'react-router-dom'




function ListDetail() { 
  let navigate = useNavigate() 
   const go = ()=>{ 
     //navigate('/header', {replace:true}) //跳转到指定的路由
     navigate(-1) //后退一步
  }
  return (
    <div className="listInfo" onClick={go}>
       我是一个小小鸟，你不要随便来叨扰
      </div>
    )
}

export default ListDetail